package com.atguigu.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author wangcan
 * @date 2019/11/30 -14:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true) //链式风格访问   new Dept().setdeptno().setxxx().set....
@SuppressWarnings("serial")
public class Dept implements Serializable {
    private long deptno;
    private String dname;
    private String db_source;

}
